﻿namespace LightCAD.Core.Elements
{
    /// <summary>
    /// 组件单体引用
    /// </summary>
    public class ComponentSingleRef : Element
    {
        public ComponentDefinition ComDef { get; set; }
        public PropertyCollection Args { get; set; }

        public ComponentSingleRef()
        {
        }


        public override Element Clone()
        {
            var clone = new ComponentSingleRef();
            clone.Copy(this);
            return clone;
        }

        public override void Copy(Element src)
        {
            var comref = ((ComponentSingleRef)src);
        }

    }
}
